Conversation
New page: concepts/deep-dive/posting-index.md - When to use, creating with INDEX TYPE POSTING and INCLUDE - Covering index: how it works, supported types, choosing columns - Verifying with EXPLAIN, comparison with bitmap index - All accelerated query patterns with examples - SQL optimizer hints (no_covering, no_index) - Trade-offs: storage, write performance, memory - Architecture: file types, generations, sealing, FSST compression - Limitations Updated pages: - indexes.md: added index type comparison table - create-table.md: added posting index and INCLUDE syntax - alter-table-alter-column-add-index.md: added posting + INCLUDE examples - sql-optimizer-hints.md: added no_covering and no_index hints - schema-design-essentials.md: added indexing decision guide - sidebars.js: added posting-index to Deep Dive navigation
|
🚀 Build success! Latest successful preview: https://preview-404--questdb-documentation.netlify.app/docs/ Commit SHA: e187aac
|
- All column types now supported in INCLUDE (UUID, LONG256, BINARY, DECIMAL128/256, arrays were added since initial docs) - Document encoding options: POSTING DELTA and POSTING EF syntax - Document designated timestamp auto-inclusion in covering index - Add out-of-line INDEX(col TYPE POSTING) syntax examples - Add SHOW COLUMNS indexType and indexInclude columns to show.md, meta.md (table_columns), and posting-index.md - Add SHOW CREATE TABLE example with posting index - Note CAPACITY restriction (bitmap only) across all relevant pages - Note INCLUDE restrictions (inline syntax only, cannot include indexed column itself) - Update storage/compression details per column type category Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- explain.md: add CoveringIndex and PostingIndex plan node descriptions - symbol.md: add posting index example alongside bitmap in indexing section - alter-mat-view-alter-column-add-index.md: add TYPE POSTING syntax (INCLUDE not supported on materialized views) - _cairo.config.json: add cairo.posting.index.auto.include.timestamp and cairo.posting.index.row.id.encoding config keys; clarify bitmap-only scope of cairo.index.value.block.size and cairo.spin.lock.timeout Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Delta encoding compresses best for regular, evenly-distributed data and is faster for large scans. The adaptive (default) mode additionally trial-encodes a flat layout that compresses better for irregular distributions and is faster for point queries. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- POSTING DELTA: regular data, better compression for even distributions, faster for large sequential scans - POSTING EF: Elias-Fano encoding, better compression for irregular distributions, faster for point queries - POSTING (default): adaptive, trial-encodes both per stride, picks smaller Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
posting-index.md)Updates since initial generation
POSTING DELTAandPOSTING EFsyntax variantsINCLUDEis presentINDEX(col TYPE POSTING)alongside inline syntaxindexTypeandindexIncludecolumns to show.md andtable_columns()in meta.mdTest plan
yarn buildsucceeds with no broken links🤖 Generated with Claude Code